package client;

public enum Orientation {
	NORTH, EAST, SOUTH, WEST;

	public Orientation next(Orientation or) {
		switch (or) {
		case NORTH:
			return EAST;
		case EAST:
			return SOUTH;
		case SOUTH:
			return WEST;
		case WEST:
			return NORTH;
		default:
			return NORTH;
		}
	}
}
